﻿/**********************************************************************
 * @file   FEAreaJunctionDialog.h
 * @brief  FE面连接对话框
 * @author liuzhonghua (liuzhonghuaszch@163.com)
 * @date   2025-01-23
 *********************************************************************/
#ifndef _FEAreaJunctionDialog_H
#define _FEAreaJunctionDialog_H

#include "GUIJunctionDialogAPI.h"
#include "GUIJunctionDialogBase.h"

namespace Ui {
    class FEAreaJunctionDialog;
}

namespace EventOper {
    class ParaWidgetInterfaceOperator;
}

namespace GUI
{
    /**
     * @brief  FE面连接
     * @author liuzhonghua (liuzhonghuaszch@163.com)
     * @date   2024-11-12
     */
    class GUIJunctionDialogAPI FEAreaJunctionDialog :public GUIJunctionDialogBase
    {
        Q_OBJECT;
    public:
        /**
         * @brief    构造函数
         * @param[i] dataID        数据id
         * @param[i] oper          操作器
         * @param[i] isCreate      是否创建
         * @author   liuzhonghua (liuzhonghuaszch@163.com)
         * @date     2024-11-12
         */
        FEAreaJunctionDialog(int dataID, EventOper::ParaWidgetInterfaceOperator* oper, bool isCreate);
        /**
         * @brief    析构函数
         * @author   liuzhonghua (liuzhonghuaszch@163.com)
         * @date     2024-11-12
         */
        ~FEAreaJunctionDialog();
        /**
         * @brief    初始化
         * @author   liuzhonghua (liuzhonghuaszch@163.com)
         * @date     2024-11-12
         */
        void init();

    private:
        /**
         * @brief  ui对象
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-11-12
         */
        Ui::FEAreaJunctionDialog* _ui = nullptr;
        /**
         * @brief  操作器
         * @author liuzhonghua (liuzhonghuaszch@163.com)
         * @date   2024-11-12
         */
        EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
    };
}
#endif
